<%--
  Created by IntelliJ IDEA.
  User: song
  Date: 2024-09-30
  Time: 19:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <title>Title</title>
</head>
<body>
<%-- ${} el表达式 --%>
<c:forEach items="${depts}" var="dept">
  ${dept.id} -- ${dept.dname} <br>
</c:forEach>
</body>
</html>
